package com.zan.pattern.visitor;

/**
 * @Author Zan
 * @Create 2024/4/27 17:27
 * @Description : 抽象元素类
 * @ClassName: Animal
 */
public interface Animal {

    // 接收访问者访问的功能
    void accept(Person person);
}
